package com.ttn.common.core.entity.business.converter;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ttn.common.core.entity.business.CourseUnitHearing;
import com.ttn.common.core.entity.business.vo.CourseUnitHearingVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CourseUnitHearingConverter {
    CourseUnitHearingConverter INSTANCE = Mappers.getMapper(CourseUnitHearingConverter.class);

    CourseUnitHearingVO courseUnitHearing2VO(CourseUnitHearing courseUnitHearing);

    Page<CourseUnitHearingVO> courseUnitHearing2VOPage(IPage<CourseUnitHearing> courseUnitHearingIPage);


}
